# -*- coding: utf-8 -*-
"""
Created on Fri May  8 23:13:47 2020

@author: Farman
"""

import HdfMan
import sys


def read(hdf_file):
    '''
    Read NDVI from MODIS data file in format of hdf4.

    Parameters
    ----------
    hdf_file : string.
        Name of hdf file to read NDVI from.

    Returns
    -------
    NDVI data frame.

    '''
    return HdfMan.read_hdf(hdf_file, "250m 16 days NDVI")


#hdf_file = 'MOD13Q1.A2015353.h00v08.006.2016007175958.hdf'
#ndvi = read(hdf_file)


if __name__ == '__main__':
    print('''This code is for )
        